<template>
  <view
    :data-theme="cueTheme"
    class="box"
  >
    <view
      v-for="item of week"
      :key="item.label"
      class="row"
      :style="rowStyle(item)"
      @tap="pageSkip"
    >
      <view class="left">
        <image
          class="image"
          src="~@/static/img/task.png"
        />
        <text>{{ item.label }}</text>
      </view>
      <view class="right">
        <text class="number">
          {{ item.taskNumber }} 个
        </text>
        <text class="label">
          任务数量
        </text>
      </view>
    </view>
  </view>
</template>
<script>
import { getFiles } from "@/utils/getFiles";
const files = require.context("./mixins", false, /js$/);
const mixins = getFiles(files);
export default {
  mixins: [...mixins],
  onShow() {
  },
  onLoad(option) {
    this.init()
  },
}
</script>
<style lang="scss" scoped src="./index.scss"></style>
